package com.example.DemoDataeaseExample.config;



public class KingbaseConfig {
    // 人大金仓驱动类名
    public static final String KINGBASE_DRIVER = "com.kingbase8.Driver";

    // 连接信息
    public static final String DEFAULT_HOST = "localhost";
    public static final String DEFAULT_PORT = "54321";
    public static final String DEFAULT_DATABASE = "test";
    public static final String DEFAULT_USERNAME = "system";
    public static final String DEFAULT_PASSWORD = "system";

    // 获取默认JDBC URL
    public static String getDefaultJdbcUrl() {
        return "jdbc:kingbase8://" + DEFAULT_HOST + ":" + DEFAULT_PORT + "/" + DEFAULT_DATABASE;
    }
}